/**
 * @(#)RespondCode.java, 2018/2/7.
 * <p/>
 * Copyright 2018 Kerr Wang, Inc. All rights reserved.
 * KERRWANG PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */
package org.wangzx.exercise.meta.vo.common;

/**
 * @author hzwangzuxiang(ahscwzx@163.com)
 */
public enum ResponseCode {
    OK(200), // 成功响应
    UNAUTHORIZED(300), // 权限不足
    FAIL(400), //失败
    FORMAT_ERROR(401); //格式错误

    private int code;

    ResponseCode(int code) {
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

}